home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
CRS
/
crs59.d81
/
macros2.seq
(
.txt
)
< prev
next >
Wrap
GEOS ConVerT
|
2009-10-10
|
2KB
|
49 lines
'natesMacros
SEQ formatted GEOS file V1.0
1525-80dpi
K&text manager
BLASTER'S CONVERTER V2.5
Swap File
Write Image V2.1
geoWrite V2.1
.Macros by: Nate Fiedler
These are used in the HE source code.
;************************************************
; Macros for use with geoProgrammer
; By: Nate Fiedler
; Also from:
THE HITCHHIKER'S GUIDE TO GEOS
;************************************************
.macro IncW addr
inc addr
bne done
inc addr+1
done:
.endm
.macro SubVB value,dest
lda dest
sbc #value
sta dest
.endm
.macro SubVW value,dest
lda dest+0
sbc #[(value)
sta dest+0
.if (value >= 0) && (value <= 255)
bcs noInc
dec dest+1
noInc:
.else
lda dest+1
sbc #](value)
sta dest+1
.endif
.endm
.macro DecW2 addr ;this macro was
lda addr ;found in the
bne noover ;Hitchhiker's Guide
dec addr+1
noover:
dec addr
.endm